Hi, I have a problem with some views in my module. I'll try to give you all the details that run this error : 1) When I open my module, I have 5 different views and several attributes and types (in particular, 2 attributes called "AS attribute" and "AE attribute" and both have the same enumerated type. 2) When I load each view, there are 2 views that ask me to save as because some changes have been done (although I did not modify anything) 3) I save as these two views as they are (without changing anything), and I save the module. 4) I suppress the attribute "AS Attribute" that is not in any of the 5 views and I save the module 5) When I load again one of the two views the following error appear : "-R-E- DXL: <Line:8> Attribut Object inconnu (AS Attribute)
-I- DXL: Exécution arrêtée"
What is the error in that ?? I don't find the DXL program to find out the line 8 !! (all is crypted I think). Anyone can help me on this problem? Estebell - Mon Apr 20 11:14:02 EDT 2015 |
Re: View error with suppressed atttribute Hi > 2) When I load each view, there are 2 views that ask me to save as because some changes have been done (although I did not modify anything) I've hat such an error two years ago. Do you have created the view using a dxl script? And do you have startet to add rows to the view starting not by column 0 but by column 1? > When I load again one of the two views the following error appear : "-R-E- DXL: <Line:8> Attribut Object inconnu (AS Attribute) -I- DXL: Exécution arrêtée" This is either a layout or an attribute dxl script Best regards Wolfgang |
Re: View error with suppressed atttribute Hello Wolfgang, Thank's for your answer, - Yes, my views use some DXL scripts to show the objects of other modules linked to each object of my opened module. I use one view for each link to follow. So I never use my "AS Attribute" in all DXL layout. This would not be a problem, would it ?? - and yes, I have modified the views to insert some first columns but I don't know how to know if it starts by 0 or 1 ?
Thank's for your help Best regards |
Re: View error with suppressed atttribute Estebell - Tue Apr 21 03:00:57 EDT 2015 Hello Wolfgang, Thank's for your answer, - Yes, my views use some DXL scripts to show the objects of other modules linked to each object of my opened module. I use one view for each link to follow. So I never use my "AS Attribute" in all DXL layout. This would not be a problem, would it ?? - and yes, I have modified the views to insert some first columns but I don't know how to know if it starts by 0 or 1 ?
Thank's for your help Best regards Hello Estebell > - Yes, my views use some DXL scripts to show the objects of other modules linked to each object of my opened module. I use one view for each link to follow. So I never use my "AS Attribute" in all DXL layout. This would not be a problem, would it ?? Not only the DXL-Layout code can create this error but a attribute dxl code too. > - and yes, I have modified the views to insert some first columns but I don't know how to know if it starts by 0 or 1 ? I cannot look into your code and check it. Best regards Wolfgang
|
Re: View error with suppressed atttribute Hi Wolfgang, Here there are my dxl codes in views : (depending on the targets I want to show, the code bellow shows in or out links).
// DXL generated by DOORS traceability wizard on 30 July 2010.
// Wizard version 2.0, DOORS version 9.2.0.4
pragma runLim, 0
void showOut(Object o, int depth) {
Link l
LinkRef lr
ModName_ otherMod = null
Module linkMod = null
ModuleVersion otherVersion = null
Object othero
string disp = null
string s = null
string plain, plainDisp
int plainTextLen
int count
bool doneOne = false
Item linkModItem = itemFromID("4ae6b6a311966973-000016a0")
if (null linkModItem) {
displayRich("\\pard " "<<Link module not found>>")
} else if (type(linkModItem) != "Link") {
displayRich("\\pard " "<<Invalid link module index for this database>>")
} else {
string linkModName = fullName(linkModItem)
for l in all(o->linkModName) do {
otherVersion = targetVersion l
otherMod = module(otherVersion)
if (null otherMod || isDeleted otherMod) continue
othero = target l
if (null othero) {
load(otherVersion,false)
}
othero = target l
if (null othero) continue
if (isDeleted othero) continue
doneOne = true
if (depth == 1) {
disp = ""
s = probeRichAttr_(othero,"AE Req Id.", false)
disp = disp s
displayRich("\\pard " disp)
}
}
}
}
showOut(obj,1)
and my code in an attribute : (this is the only one attribute that contains DXL).
if (!isDeleted(obj))
{
bool bExigence = obj."AS Exigence"
if (bExigence == true) {
int iNumero = obj."Absolute Number"
string SPrefixeId = obj."AS Prefixe Id"
obj.attrDXLName = SPrefixeId "" iNumero ""
}
}
|
Re: View error with suppressed atttribute Estebell - Tue Apr 21 03:26:37 EDT 2015 Hi Wolfgang, Here there are my dxl codes in views : (depending on the targets I want to show, the code bellow shows in or out links).
// DXL generated by DOORS traceability wizard on 30 July 2010.
// Wizard version 2.0, DOORS version 9.2.0.4
pragma runLim, 0
void showOut(Object o, int depth) {
Link l
LinkRef lr
ModName_ otherMod = null
Module linkMod = null
ModuleVersion otherVersion = null
Object othero
string disp = null
string s = null
string plain, plainDisp
int plainTextLen
int count
bool doneOne = false
Item linkModItem = itemFromID("4ae6b6a311966973-000016a0")
if (null linkModItem) {
displayRich("\\pard " "<<Link module not found>>")
} else if (type(linkModItem) != "Link") {
displayRich("\\pard " "<<Invalid link module index for this database>>")
} else {
string linkModName = fullName(linkModItem)
for l in all(o->linkModName) do {
otherVersion = targetVersion l
otherMod = module(otherVersion)
if (null otherMod || isDeleted otherMod) continue
othero = target l
if (null othero) {
load(otherVersion,false)
}
othero = target l
if (null othero) continue
if (isDeleted othero) continue
doneOne = true
if (depth == 1) {
disp = ""
s = probeRichAttr_(othero,"AE Req Id.", false)
disp = disp s
displayRich("\\pard " disp)
}
}
}
}
showOut(obj,1)
and my code in an attribute : (this is the only one attribute that contains DXL).
if (!isDeleted(obj))
{
bool bExigence = obj."AS Exigence"
if (bExigence == true) {
int iNumero = obj."Absolute Number"
string SPrefixeId = obj."AS Prefixe Id"
obj.attrDXLName = SPrefixeId "" iNumero ""
}
}
I do not mean the code inside the attribute. I mean the code which has created the column ... |
Re: View error with suppressed atttribute I have found my error : The attribute that cause some problem was used before. Its changes have affected the history. That's why its suppression causes some problems. Best Regards |